package hk.edu.uic.hejing.service.impl;

import hk.edu.uic.hejing.entity.Rubric;
import hk.edu.uic.hejing.mapper.RubricMapper;
import hk.edu.uic.hejing.service.IRubricService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hejing
 * @since 2017-05-30
 */
@Service
public class RubricServiceImpl extends ServiceImpl<RubricMapper, Rubric> implements IRubricService {

    @Override
    public List<Rubric> getAllRubrics() {
        return baseMapper.getAllRubrics();
    }
}
